/**  
* @Title: BoardroomPO.java
* @Package cn.net.mtons.persist.entity.po
* @Description: TODO
* @author ma jinjian  
* @date 2015年12月19日 下午7:22:21
* @version V1.0  
*/ 
package cn.net.mtons.model.entity.po;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @ClassName: BoardroomPO
 * @Description: TODO
 * @author ma jinjian
 * @date 2015年12月19日 下午7:22:21
 *
 */
@Entity
@Table(name="boardroom")
public class BoardroomPO {

	@Id
	@Column(name="boardroom_id", nullable=false)
	private long id;
	
	@Column(name="boardroom_name", nullable=false)
	private String name;
	
	@Column(name="boardroom_address", nullable=false)
	private String address;
	
	@Column(name="boardroom_media", nullable=false)
	private boolean media;
	
	@Column(name="boardroom_projector", nullable=false)
	private boolean projector;
	
	@Column(name="boardroom_capacity", nullable=false)
	private int capacity;
	
	@Column(name="boardroom_state", nullable=false)
	private int state;

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public boolean isMedia() {
		return media;
	}

	public void setMedia(boolean media) {
		this.media = media;
	}

	public boolean isProjector() {
		return projector;
	}

	public void setProjector(boolean projector) {
		this.projector = projector;
	}

	public int getCapacity() {
		return capacity;
	}

	public void setCapacity(int capacity) {
		this.capacity = capacity;
	}

	public int getState() {
		return state;
	}

	public void setState(int state) {
		this.state = state;
	}

	@Override
	public String toString() {
		return "BoardroomPO [id=" + id + ", name=" + name + ", address="
				+ address + ", media=" + media + ", projector=" + projector
				+ ", capacity=" + capacity + ", state=" + state + "]";
	}
}
